const obj1 = {
  age: 18
};
Object.seal(obj1);
console.log(Object.isSealed(obj1));
// true
Object.defineProperty(obj1, 'age', {
  get() {
    return "aaa";
  }
}); //直接报错
